Skip to contentSkip to conversation

Civ6 Assert in LLVM SIMachineScheduler.cpp with R600_DEBUG=sisched

Bug 99748 [email protected] 1 participant 4 messages Feb 10, 2017 – Feb 19, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99748

Bug ID: 99748
Summary: [radeonsi] Civ6 Assert in LLVM SIMachineScheduler.cpp
with R600_DEBUG=sisched
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

When running Civ6 using LLVM from git (SHA1's tested 1648ceaabcea762590049a74ce8b934e3bfd4fb2 and 897444660daf9e94c020efc97b63aed7e61db7ac) with R600_DEBUG=sisched and the latest Mesa it would assert with the following error:

Civ6:
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AMDGPU/SIMachineScheduler.cpp:1584:
void llvm::SIScheduleBlockScheduler::blockScheduled(llvm::SIScheduleBlock*):
Assertion `LiveRegsConsumers[RegP.first] == 0' failed.

This doesn't happen with LLVM-4.0.0-rc1 even when using R600_DEBUG=sisched

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99748

Mike Lothian <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Mike Lothian <[email protected]> --- This wasn't limited to Civ6, saw the issue on Rocket League as well

Reverting:

commit ce06d9cb99298eb844b66e117f5108a06747c907

Author: Alexander Timofeev <[email protected]>
Date:   Tue Feb 7 17:57:48 2017 +0000

[AMDGPU] Fix for SIMachineScheduler crash. SI Scheduler should track
lane masks.

Differential revision: https://reviews.llvm.org/D29442

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294324
91177308-0d34-0410-b5e6-96231b3b80d8

Allowed it to work again

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99748

--- Comment #2 from Mike Lothian <[email protected]> --- Created attachment 129529
--> https://bugs.freedesktop.org/attachment.cgi?id=129529&action=edit
Revert Patch

Here's the revert patch to make things easier for other folk reverting

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99748

Axel Davy <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Axel Davy <[email protected]> --- the patch was reverted.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel